package ThreadLocal;

/**
 * @description:
 * @author: ChenYunChou
 * @time: 2021/5/18 2021
 */
public class ThreadLocalByUser {

    public static void main(String[] args) {
        User user = new User("java");
        UserStorage.setUser(user);

        OrderSystem orderSystem = new OrderSystem();
        orderSystem.add();



        RepertorySystem repertory = new RepertorySystem();

        repertory.decrement();

    }
}
